package com.xuhuan.demo.pattern.decorator.decorator;

import com.xuhuan.demo.pattern.decorator.Drink;

/**
 * @author huan.xu
 * @date 2021/10/6 23:08
 * @description 巧克力
 */
public class Chocolate extends Decorator{

    public Chocolate(Drink coffee) {
        super(coffee);
        super.setDescription("巧克力");
        super.setPrice(3.0f);
    }
}
